import { createApp } from 'vue';
import { createPinia } from 'pinia';
import App from './App.vue';
import VCharts from 'v-charts';

import 'reset-css';
import router from './router/index';

import axios from "axios"

const app = createApp();
const pinia = createPinia();
// 全局注册
app.config.globalProperties.$http = axios;
app.use(pinia);
app.use(VCharts);
createApp(App).use(router).mount('#app');